*{
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body{
    background: #ccc;
}

ul li{
   list-style: none;
}

a{
    text-decoration: none;
}

.clearfix:before,
.clearfix:after{
    display: block;
    content: "";
    clear: both;
}

.header,.main{
    width: 700px;
    margin: auto;
}


header{
    background: #000;
    line-height: 50px;
    text-align: center;
    margin-bottom: 50px;
}
.header input{
    width: 360px;
    height: 29px;
    padding-left: 10px;
    border-radius: 7px;
    border: none;
    outline: none;
}

.button5{
    height: 26px;
    width: 50px;
    text-align: center;
    border-radius: 0 7px 7px 0;
    border: none;
    position: absolute;
    top: 12px;
    right: 0;
    cursor: pointer;
    outline: none;
    background: #fff;
}

.text{
    color: #fff;
    font-size: 25px;
}
.text{
    float: left;
}
.w{
    float: right;
    position: relative;
}

.ul1 li{
    width: 100%;
    border-radius: 6px;
    padding: 10px 30px 10px 30px;
    border-left: 6px solid #999;
    background: #fff;
    display: inline-block;
    line-height: 22px;
}
.ul1 button{
    width: 22px;
    height: 22px;
    display: inline-block;
    background: #dedede;
    border: 1px solid #a6a6a6;
    border-radius: 3px;

}

.ul1 button,.ul1 p,.ul1 span{
    float: left;
}
.ul1 p{
    margin-left: 15px;
    width: 570px;
}
.ul1 span{
    width: 22px;
    height: 22px;
    background: #dedede;
    border: 1px solid #a6a6a6;
    border-radius: 12px;
    font-size: 20px;
    text-align: center;
    line-height: 22px;
    float: right;
}



.ul2 li{
    width: 100%;
    border-radius: 6px;
    padding: 10px 30px 10px 30px;
    border-left: 6px solid #999;
    background: #fff;
    opacity: 0.5;
    line-height: 22px;
    display: none;
}
.ul2 button{
    width: 22px;
    height: 22px;
    display: inline-block;
    background: #dedede;
    border: 1px solid #a6a6a6;
    border-radius: 3px;

}

.ul2 button,.ul2 p,.ul2 span{
    float: left;
}
.ul2 p{
    margin-left: 15px;
    width: 570px;
}
.ul2 span{
    width: 22px;
    height: 22px;
    background: #dedede;
    border: 1px solid #a6a6a6;
    border-radius: 12px;
    font-size: 20px;
    text-align: center;
    line-height: 22px;
    float: right;
}
h2{
    margin-bottom: 20px;
    margin-top: 20px;
}



@media (max-width: 600px) {

    header,main{
        width: 100%;
    }

    .header,.main{
        width: 90%;
        margin: auto;
    }
    .text{
        width: 100%;
        text-align: center;
    }
    .w input,.w{
        width: 100%;
        margin: auto;
    }
    .ul1 p,.ul2 p{
        width: 70%;
    }


}